<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/commons/include/html_doctype.html" %>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<%@include file="/commons/page/codegen.jsp" %>
		<script type="text/javascript" src="${ctx}/js/gpoint/rdp/doorPermission/permissionTypes.js"></script>
	</head>
	<body>
		<!-- 顶部按钮 -->
		<div class="wrapper wrapper-content  animated fadeInRight col-sm-12">
			<div class="panel-toolbar ">
				<div class="buttons">
					<a class="btn btn-primary fa fa-back" href="${returnUrl}" ><span>返回</span></a>
				</div>
			</div>
			<div class="">
					<form  class="fr-form"  id="permissionTypesFormGet" >
				 	<div class="fr_response_field col-sm-3" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">服务ID</label>
				  	<div class="fr-form-block">
			<p class="form-control-static">${permissionTypes.servicecode}</p>
							
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">权限类型名称</label>
				  	<div class="fr-form-block">
			<p class="form-control-static">${permissionTypes.permissionname}</p>
							
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">创建时间</label>
				  	<div class="fr-form-block">
							<p class="form-control-static"><fmt:formatDate value="${permissionTypes.createTime}" /></p>		
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">创建人</label>
				  	<div class="fr-form-block">
			<p class="form-control-static">${permissionTypes.createBy}</p>
							
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">更新时间</label>
				  	<div class="fr-form-block">
							<p class="form-control-static"><fmt:formatDate value="${permissionTypes.updateTime}" /></p>		
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">更新人</label>
				  	<div class="fr-form-block">
			<p class="form-control-static">${permissionTypes.updateBy}</p>
							
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">IP地址</label>
				  	<div class="fr-form-block">
			<p class="form-control-static">${permissionTypes.ip}</p>
							
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">扩展字段</label>
				  	<div class="fr-form-block">
			<p class="form-control-static">${permissionTypes.ext1}</p>
							
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">扩展字段</label>
				  	<div class="fr-form-block">
			<p class="form-control-static">${permissionTypes.ext2}</p>
							
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">扩展字段</label>
				  	<div class="fr-form-block">
			<p class="form-control-static">${permissionTypes.ext3}</p>
							
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">门总数</label>
				  	<div class="fr-form-block">
			<p class="form-control-static">${permissionTypes.doorcount}</p>
							
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">用户总数</label>
				  	<div class="fr-form-block">
			<p class="form-control-static">${permissionTypes.usercount}</p>
							
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">备注</label>
				  	<div class="fr-form-block">
			<p class="form-control-static">${permissionTypes.note}</p>
							
				 	</div>
			  	</div>
			</div>
	  		<table name="s:" class="table table-bordered table-hover table-condensed">
			<caption>
				<div class="fr-table-header-label">TB_DOOR_DOORPERMISSTYPE</div>
			</caption>
			<thead>
				<tr>
	       			 <th>服务ID</th>
	       			 <th>保存的时候是带有设备的例如:SN-001</th>
	       			 <th>时间段</th>
	       			 <th>权限类型ID</th>
	       			 <th>创建时间</th>
	       			 <th>创建人</th>
	       			 <th>更新时间</th>
	       			 <th>更新人</th>
	       			 <th>IP地址</th>
	       			 <th>扩展字段</th>
	       			 <th>扩展字段</th>
	       			 <th>扩展字段</th>
		    </tr>
			</thead>
			<tbody>	
				<c:forEach var="" items="${permissionTypes.PoList}">	
					<tr>	
				 		<td>
			<p class="form-control-static">${.servicecode}</p>
						</td>	
				 		<td>
			<p class="form-control-static">${.snDoor}</p>
						</td>	
				 		<td>
			<p class="form-control-static">${.timePhase}</p>
						</td>	
				 		<td>
			<p class="form-control-static">${.permisstypeid}</p>
						</td>	
				 		<td>
			<p class="form-control-static"><fmt:formatDate value="${.createTime}"  pattern="yyyy-MM-dd"/></p>
						</td>	
				 		<td>
			<p class="form-control-static">${.createBy}</p>
						</td>	
				 		<td>
			<p class="form-control-static"><fmt:formatDate value="${.updateTime}"  pattern="yyyy-MM-dd"/></p>
						</td>	
				 		<td>
			<p class="form-control-static">${.updateBy}</p>
						</td>	
				 		<td>
			<p class="form-control-static">${.ip}</p>
						</td>	
				 		<td>
			<p class="form-control-static">${.ext1}</p>
						</td>	
				 		<td>
			<p class="form-control-static">${.ext2}</p>
						</td>	
				 		<td>
			<p class="form-control-static">${.ext3}</p>
						</td>	
					</tr>
				</c:forEach>
			</tbody>
		</table>
	  		<table name="s:" class="table table-bordered table-hover table-condensed">
			<caption>
				<div class="fr-table-header-label">TB_DOOR_PERMISSTYPEANDUSER</div>
			</caption>
			<thead>
				<tr>
	       			 <th>服务ID</th>
	       			 <th>用户ID</th>
	       			 <th>权限类型ID</th>
	       			 <th>创建时间</th>
	       			 <th>创建人</th>
	       			 <th>更新时间</th>
	       			 <th>更新人</th>
	       			 <th>IP地址</th>
	       			 <th>扩展字段</th>
	       			 <th>扩展字段</th>
	       			 <th>扩展字段</th>
	       			 <th>状态 未授权是0  已授权是1  取消 2 默认插入的数据是未授权 0</th>
		    </tr>
			</thead>
			<tbody>	
				<c:forEach var="" items="${permissionTypes.PoList}">	
					<tr>	
				 		<td>
			<p class="form-control-static">${.servicecode}</p>
						</td>	
				 		<td>
			<p class="form-control-static">${.useruid}</p>
						</td>	
				 		<td>
			<p class="form-control-static">${.permisstypeid}</p>
						</td>	
				 		<td>
			<p class="form-control-static"><fmt:formatDate value="${.createTime}"  pattern="yyyy-MM-dd"/></p>
						</td>	
				 		<td>
			<p class="form-control-static">${.createBy}</p>
						</td>	
				 		<td>
			<p class="form-control-static"><fmt:formatDate value="${.updateTime}"  pattern="yyyy-MM-dd"/></p>
						</td>	
				 		<td>
			<p class="form-control-static">${.updateBy}</p>
						</td>	
				 		<td>
			<p class="form-control-static">${.ip}</p>
						</td>	
				 		<td>
			<p class="form-control-static">${.ext1}</p>
						</td>	
				 		<td>
			<p class="form-control-static">${.ext2}</p>
						</td>	
				 		<td>
			<p class="form-control-static">${.ext3}</p>
						</td>	
				 		<td>
			<p class="form-control-static">${.status}</p>
						</td>	
					</tr>
				</c:forEach>
			</tbody>
		</table>
	</form>

			</div>
		</div>
	</body>
</html>